<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://unpkg.com/react@18/umd/react.development.js"></script>
  <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>

  <!-- Don't use this in production: -->
  <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
</head>

<body>
  <div id="root"></div>
  <div id="app"></div>
  <script type="text/babel">
    // ReactDOM.render(
    //   <h1>Hello, world!</h1>,
    //   document.getElementById('root')
    // );

    const app = ReactDOM.createRoot(document.getElementById('app'))
    app.render(<h1>Hello, React!</h1>)



  </script>
</body>

</html>